<div class="block">
    <h2>Меню</h2>
    <div>
        <?php
            if (Yii::app()->user->isGuest)
                $menu = Menu::UserMenu();
            else
                $menu = Menu::AdminMenu();

            $this->widget('CTreeView',array(
                'id'=>'menu',
                'data'=>$menu,
                'animated'=>'fast',
                'collapsed'=>true,
            ));
        ?>
    </div>
</div>